<include file="public@header"/>
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:url('Shoporder/index',['status'=>100])}">列表</a></li>
        <li class="active"><a>{:lang('EDIT')}</a></li>
    </ul>
    <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('Shoporder/send')}">

        <div class="form-group">
            <label for="input-name" class="col-sm-2 control-label"><span class="form-required"></span>订单号</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" value="{$data['order_id']}" readonly>
            </div>
        </div>

        <div class="form-group">
            <label for="input-thumb" class="col-sm-2 control-label"><span class="form-required"></span>收货人</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" value="{$data['consignee']}" readonly>
            </div>
        </div>

        <div class="form-group">
            <label for="input-name" class="col-sm-2 control-label"><span class="form-required"></span>收货人手机</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" value="{$data['mobile']}" readonly>
            </div>
        </div>

        <div class="form-group">
            <label for="input-name" class="col-sm-2 control-label"><span class="form-required"></span>收货地址</label>
            <div class="col-md-6 col-sm-10">
                <textarea class="form-control" cols="30" rows="4" readonly>{$data['province']} {$data['city']} {$data['county']} {$data['address']}</textarea>
            </div>
        </div>

        <div class="form-group">
            <label for="input-name" class="col-sm-2 control-label"><span class="form-required"></span>备注</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" value="{$data['note']}" readonly>
            </div>
        </div>

        <div class="form-group">
            <label for="input-name" class="col-sm-2 control-label"><span class="form-required"></span>快递公司</label>
            <div class="col-md-6 col-sm-10">
                <select class="form-control" name="express">
                    <option value="0">请选择</option>
                    <volist name="list" id="v">
                        <option value="{$v['id']}" >{$v['company']}</option>
                    </volist>
                </select>
            </div>
        </div>

        <div class="form-group">
            <label for="input-name" class="col-sm-2 control-label"><span class="form-required"></span>快递单号</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="express_no">
            </div>
        </div>

        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <input type="hidden" name="id" value="{$data.id}"/>
                <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('确认')}</button>
                <a class="btn btn-default" href="javascript:history.back(-1);">{:lang('BACK')}</a>
            </div>
        </div>

    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>